Method and system for controlling devices for tracking synchronous movements

ABSTRACT

Devices, systems and methods for controlling cameras, by processing recorded image frames to record head orientations corresponding to head objects identified for individuals in image frames over a first duration of time, and determining based on the head orientations: (i) an amount of synchronous alignment in the head objects in a new direction within a threshold range of angles, (ii) a rate of change in the one or more extracted head orientations towards the new direction, and (iii) a second duration of time in which re-orientation of the head objects begins and ends in the new direction; controlling an orientation of one camera to move to a field of view corresponding to the new direction. In alternate embodiments, the system may conduct further detection processes and generate further stage alerts thereby increasing the system confidence in the new camera direction.

FIELD

Embodiments of the present disclosure relate to the field of securitysystems, and more specifically, embodiments relate to devices, systemsand methods for improved use of synchronous head movement for a crowdbehavior-based security system.

INTRODUCTION

Closed-circuit Television (CCTV) system technology become more widelyavailable in the 1940's. The technology has been in constant developmentin terms of improved resolutions, fields of view, frames per second,among others. However, if an incident takes place outside of the rangeor field-of-view of a CCTV system, the CCTV system still fails to detectand report it as the CCTV system is unable to see the incident.

This is a deficiency in existing systems as they are not using allavailable information to maximize coverage and utility of theirmonitoring abilities.

SUMMARY

Cameras have transformed from being visual and audio recording machinesfor security personnel to monitor incidents to become smart CCTV andsurveillance systems that can understand a situation and report it tosecurity personnel or take an immediate action to rectify it. Theadvancements in AI and specifically deep learning made it possible forsurveillance systems to detect fighting, an abandoned suitcase in anairport, or possession of a weapon, a robbery taking place and trackingof thieves, and suspicious activity to predictive systems that canpredict a car accident, the next few seconds of movement, among others.

However, if an incident (e.g., visual or auditory) takes place outsideof the range (e.g., a field of view) of the CCTV system, the CCTV systemstill fails to detect it and report it. While many CCTV systems havestatic fields of view due to their configuration, some CCTV systems arecapable of controlled movement, and can be configured for manual controlor movement across a pre-set path (e.g., patrol left and right across arange of 45 degrees).

As described in various embodiments herein, individuals' reactivebehavior in response to internal or external stimulus, whether visual,auditory, gustatory, olfactory, cutaneous, kinesthetic or vestibularthat is based on human senses can be fully utilized to infer a possibleincident whether taking place or about to take place in a lockedgeographical area outside of visual frame.

Crowd-based movements can thus be utilized to improve how cameras can becontrolled to automatically cause a change to the field of view based onspecific automatically detected head movements and re-orientations.However, a technical challenge arises due to false positives.

A synchronous head movement (SHMOV) detection system is proposed as asmart security system that, in some embodiments, may automaticallyanalyze the crowd reactive behavior through object detection, and, forexample, in a locked time and location to predict a nearby incident(e.g., security incident) outside of a visual frame, and in someembodiments, move the camera either in the estimated direction of theincident as inferred from the detected head objects, or specifically tocover an estimated position of the incident as extrapolated from thedirections in which the heads are looking. Corresponding methods,non-transitory computer readable media (e.g., computer program productsaffixed to physical storage media) are contemplated. Variant embodimentsare also described that are directed to avoiding false positives througha staged alert system whereby different combinations of object detectioncharacteristics (head alignment, heads moving backwards, facialreactions) and other stimuli (e.g., auditory, olfactory, externalsensory data) are used to reinforce whether an action should be taken tochange a field of view of the camera, or to reinforce whether an alertnotification should be generated.

The synchronous head movement (SHMOV) detection system is implemented inthe form of a controller device that can be a software module coupled toa hardware camera system. Other variations are possible, such as beingprovided in the form of a field-programmable gate array, an integratedcircuit or a system on a chip coupled to a printed circuit board, amongothers. Simpler variations are also possible, for example, amicroprocessor or special purpose chip for an application-specificintegrated circuit. In some embodiments, the system can be retrofit as acontroller device (or software module) onto an existing CCTV system tocontrol the actuation of rotations and/or other movements.

The controller device can receive inputs from one or more sensors and/orthe plurality of image frames recorded from the camera, and generatecontrol signals that are used to cause a motion of the camera to movethe field of view (e.g., rotation, translation, or a combinationthereof). For example, motion can be controlled by one or more actuatorsthat control the motion of the camera as it rolls, tilts, pans, and/oryaws (e.g., to rotate the camera towards the event), or a translationalong a rail upon which the camera is mounted. In some embodiments, thecamera is free to move around on its own (e.g., a camera mounted onto adrone). As the system is able to automatically respond to stimuli, anexisting camera system can be retrofit such that “blindspots” where thecamera is not pointed towards can be addressed. In some embodiments,where the estimated incident potentially occurred at an estimatedposition where the camera is not able to cover (e.g., beyond the rangeof rotation), the camera can track this and submit an alert instead.

The system can also include multiple cameras that operate together. Forexample, there may be a stationary camera that is fixated on a specificfield of view, and coupled to a rotating camera that has a “roving”field of view that is shifted in the direction of an inferred incident.In another embodiment, the camera may be a “roving” camera, set torotate across a pre-programmed route until the route is overridden bythe inference of an incident as described in various embodiments herein.In this situation, one camera is designated a primary camera and theother camera can be designed as a secondary camera. Where there is aprimary and a secondary camera, one of the two or more cameras can beselected that has a maximum range of motion for coverage, and thealert/move thresholds may be set lower as the impact of a false positiveis lower due to the additional coverage from the other cameras.

The processor of the controller device periodically or continuallyconducts object detection in the plurality of image frames recorded bythe one or more cameras to record (e.g., track) one or more head objectsand their associated characteristics (e.g., head orientations, headpositioning) that are extracted from the plurality of image frames. Theheads themselves can be simplified into head objects and analyzed in areal or near-real time basis to determine whether various alert stagesare triggered. Heads can be converted into bounding box regions ofinterest, and then further transformed into data tuples corresponding tospecific characteristics of each head over a period of time (e.g.,headid, head size (which may be used as a rough proxy for distance fromcamera), estimated front of head position, estimated rear of headposition, head orientation angle).

Converting the heads into head objects and corresponding bounding boxregions of interest significantly simplifies the computationalrequirements, allowing for the use of lower clock speed microprocessors,as well as less on-board memory, for example. This is particularlyuseful when retrofitting older CCTV systems whose camera positioning isnot controlled by a central data room, but rather, individuallycontrolled (e.g., individually controller units may need to beprovisioned). As on-board memory may store a trained machine learningmodel adapted for head object and characteristic detection (and in someembodiments, mapping of the head objects to estimated positions in a twodimensional plane or a three dimensional space), it is important in somecases to ensure that the computation is sufficiently fast so thatreal-time or near-real time adjustments to camera positioning can bemade.

A challenge with a system that observes the movement of head objects isthat false positives are possible as individuals naturally move theirheads in the course of regular activities and regular stimuli. It isimportant to be able to distinguish these regular activities and regularstimuli (e.g., leading to voluntary movements) from surprising orunexpected events that are materially startling enough to cause a numberof observable involuntary human responses, which then justify a shift inthe field of view of at least one of the cameras so that potentially thesurprising or unexpected event can be captured. This is not alwayspossible as the field of view may simply not reach the surprising orunexpected event or it may be obstructed (e.g., event happened behind awall), but the camera may still be configured to at least attempt toshift it into the field of view, which, for example, may capturesecondary actions (e.g., thief attempts to run away and re-enters thefield of view). As described herein, experiments were conducted by theApplicant to establish specific configuration approaches that aid inreducing the prevalence of false positives while maintaining asufficiently useful improved security system.

The processor observes the head orientations as detected by the machinelearning model to detect an amount of synchronous alignment in the headobjects in a new direction within a threshold range of angles, which canbe indicative that the movement is involuntary and confirmed as crowdmovement characteristics across a proportion of the head objects in vieware tracked over an additional duration of time. This is helpful indistinguishing from voluntary movements (e.g., person is crossing thestreet to head to the bank) because it is less likely that disparatemembers of a crowd are all trying to do the same thing. Synchronousalignment, for example, can be established, for example, where aproportion of heads (e.g., 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%) ofindividuals in frame synchronously align within a range of movement(e.g., within 35% difference or within a number of degrees of angles,such as 5 degrees). In some embodiments, the level of synchronousalignment can be used as an input in determining whether a staged alertshould triggered (e.g., 100% alignment has a stronger inference than 50%alignment). As noted herein, other features of the movement can also betracked in various embodiments, such as a slight backward movement ofthe head object soon after the synchronous alignment in the newdirection (indicative of an involuntary recoil).

The processor also observes the head orientations to detect the rate ofchange towards a new direction, and durations of time in which there-orientation takes place. If these satisfy conditions such as havingthe time from head start movement to stop below a threshold (e.g., 1000ms, 1500 ms, 2000 ms) and the rate of change is over a threshold (e.g.,30 degrees a second, 45 degrees a second, 60 degrees a second), aninitial/main stage alert can be triggered. Similar to the above, in someembodiments, the re-orientation duration and/or rate of change can beused as an input in determining whether a staged alert should triggered(e.g., 60 degrees a second has a stronger inference than 30 degrees asecond).

When a main stage alert is triggered, in some embodiments, at least oneof the cameras is controlled to move (e.g., rotate) in the directionindicated by the head orientations in an attempt to move the incidentinto the field of view. In some embodiments, the camera is configured tocontinually scan in that direction until the processor, using objectdetection, determines that there is an anomalous object detected or aspecific type of object which is detected (car on fire, person hasfallen, person is being assaulted, gun). In other embodiments, thecamera extrapolates a rough intersection (e.g., intersection point orintersection cloud) from the head objects and the camera is moved untilthe field of view either captures the incident/object or has it centeredin the field of view. In the drone example, the drone can be programmedto automatically direct itself in the direction of and in the field ofview of the rough intersection in an attempt to capture the incident inits field of view.

A main stage alert triggering a movement is particularly useful in caseswhere there is another camera that maintains observation over theoriginal field of view. In another variation, additional stage alertsare utilized to control whether a movement occurs or not (e.g., to avoidfalse positives or situations where the camera can be “tricked” into amovement). There are other potential stage alerts described in variousembodiments, which may be used in different combinations and not justthe permutations described. While in some embodiments the stage alertsare sequential, it is not necessary for all embodiments. Otherpermutations and combinations are contemplated as different embodiments.

For example, there may be a second stage alert that tracks how long thesynchronous alignment is maintained for (e.g., at least 2000 ms). Theremay be a third stage alert where head “backwards” movements can betracked during the synchronous alignment, which can be indicative of aninvoluntary “recoiling” behavior. There may be a fourth stage alertwhere changes in eye shape objects or changes in facial expressionobjects corresponding to the head objects trigger the stage alert. Theremay be a fifth stage alert captured sensor recordings (e.g., audio) areprocessed to identify one or more changes in a signal amplitude (e.g.,an increase in 30% in sound for sound captured a few seconds before theincident relative to after, changes in humidity, smoke levels,temperatures, vibrations, magnetometers).

These stage alerts can be utilized in accordance with sequential logic,in some embodiments, to determine whether the camera should be moved. Insome embodiments, the stage alert triggers and/or their underlying headcharacteristics or movement classifications are instead provided to atrained neural network which generates output data sets indicative ofwhether a movement should occur. In some embodiments, the controller isadapted to generate a probability of whether the movement should occurbased on a number of triggered stage alerts (e.g., 50% for just stage 1,60% for stage 1+2, or stage 1+3, 70% for stage 1+2+3). If there is anaspect of randomness in the control, it is harder for a malicious userto fool the system.

As a non-limiting example implementation, a parking garage may use aCCTV system to monitor for potential car theft incidents. However, theCCTV system may not have full visual coverage of the entire parkinggarage, due to the limited number of cameras, limited field of view,among other reasons. If a car theft were to take place in a locationoutside the view of the CCTV system, it may go undetected by, forexample, security personnel or the parking garage staff. This presents atechnical problem which a SHMOV based system may solve.

Bystanders may notice strange behavior, for example, a car theft takingplace. An intended physical embodiment may be implemented with a CCTVsystem, where a computer is essential to perform automated continualanalysis of the synchronous head movement of said bystanders. In someembodiments, the CCTV system may determine based on the SHMOV ofbystanders where the incident is taking place, and position the camerassuch that the incident may be in the field-of-view.

Other implementation examples include retrofitting existing trafficcameras mounted in conjunction with a highway or a freeway, which canautomatically modify their fields of view through rotation to coveraccidents or incidents, and then revert their fields of view when theaccident is cleared. A number of stage alerts can be utilized, in someembodiments, to determine how long a camera should linger on theincident before reverting to the original field of view. In anotherexample, in a particularly high crime area of a city, the cameras can becoupled to sensory device such as a gunshot detection system, amongothers. In another example, the system can be used for a low cost homesecurity system, such as a garage door mounted system that observes afirst area (e.g., vehicles parked in the driveway), but can shift to asecond area (e.g., living room window) when the images indicate a set ofcrowd head object movements (e.g., someone broke the living roomwindow).

DESCRIPTION OF THE FIGURES

In the figures, embodiments are illustrated by way of example. It is tobe expressly understood that the description and figures are only forthe purpose of illustration and as an aid to understanding.

Embodiments will now be described, by way of example only, withreference to the attached figures, wherein in the figures:

FIG. 1A is a system diagram of head synchronous movement conditions,according to some embodiments.

FIG. 1B is a block schematic diagram of a controller device controllingone or more orientations corresponding to one or more cameras, accordingto some embodiments.

FIG. 2 is a flowchart diagram of the analysis circuit data process,according to some embodiments.

FIG. 3 is an example diagram of 36 direction marks on dataset images,according to some embodiments.

FIG. 4A is an example diagram of head movement, illustrative of a methodfor performing head movement tracking, according to some embodiments.

FIG. 4B is an example diagram of head movement, illustrative of a methodfor performing backward head movement detection, according to someembodiments.

FIG. 5 is an exemplary image, illustrative of face landmark points,according to some embodiments.

FIG. 6 is a diagram of an example system, illustrative of one potentialuse-case scenario, according to some embodiments.

FIG. 7 is a schematic diagram of a computing device used to implementthe example platform, according to some embodiments.

DETAILED DESCRIPTION

As described herein, a synchronous head movement (SHMOV) detectionsystem is proposed as a smart security system that, in some embodiments,may automatically analyze the crowd reactive behavior through objectdetection, and, for example, in a locked time and location to predict anearby security incident outside of visual frame. Corresponding methods,non-transitory computer readable media (e.g., computer program productsaffixed to physical storage media) are contemplated.

The approach is a technical solution utilizing object detection acrossframes of motion that attempt to detect involuntary behaviors associatedwith head objects of people in a crowd associated with a startlingincident that occurs beyond a field of view of the camera. Specificapproaches are described in relation to observing object detection basedproxy characteristics potentially indicative of certain involuntaryactions (e.g., head turning, head recoil, changes in facial features)that are then utilized to generate various alerts or change the field ofview of the camera (e.g., towards a new direction or to cover theestimated position of the incident in the field of view).

A staged approach is described in some embodiments to reduce aprevalence of potential false positives (e.g., due to normal movementbehavior or malicious attempts to change the field of view). In thestaged alert system, different combinations of object detectioncharacteristics (head alignment, heads moving backwards, facialreactions) and other stimuli (e.g., auditory, olfactory, externalsensory data) are used to reinforce whether an action should be taken tochange a field of view of the camera.

Conventional CCTV systems are passive in nature, requiring humaninterpretation of video feed to detect security incidents. Although AIadvanced CCTV systems to minimize the need for human interpretationincluding the detection of an action like fighting or an existence of aweapon in scene, none of the previous systems take advantage of thehuman sensing capabilities to derive inference of a security incidentoutside of frame. Such sensing capabilities when synchronized by thecrowd, present a potential for building a security system that detectsthe behavior and report if a possible threat is taking place.

When people experience a threat (security incident) in a nearbylocation, they react simultaneously towards it. The first reaction ismapped to the fight or flight response where people assess the situationby giving it the most attention. The attention is given by locating thesource of the threat, moving head towards it, posing for few seconds toassess, eye widening to allow as much information as possible or clenchto assess the situation if it is olfactory and a facial expression thatexpresses the current negative emotion.

When a CCTV smart system is analyzing the crowd head synchronousmovement, it is projected that it may be able to utilize the crowdsensing capability and behavior to create an alert to security personnelto take an action even if the incident is out of frame and not collectedby the CCTV system.

To address the hypothesis, the following quantitative researchobjectives were developed: 1) To detect the heads from the video feed ofa CCTV camera. Objective 1 addresses the first step of the analysiscircuit of the proposed system by drawing a bounding box aroundindividuals' heads. 2) To detect head directions in a 360° range.Objective 2 addresses the second step of the analysis circuit of theproposed system delivering the direction of heads from the video feedallowing for detecting if heads moves are synchronous towards the samedirection. 3) To detect the speed of head movement. Objective 3addresses the third step of the proposed system that is composed of the5 conditions including delivering the speed, degree per second, and thetime for the movement as well as the two seconds pause, and deliver thefourth step of the proposed system of detecting if heads move back whilein pause. 4) To detect the eye widening or clenching and emotion ofindividuals by analyzing their facial expressions during the two secondspause. Objective 4 delivers the supporting results for the SHMOV systemby detecting if eyes widen or clench and if the emotion is (surprise,fear or anger). 5) To detect the microphone sound amplitude deviationlevel. Objective 5 delivers the deviation level of the sound amplitudeprior to the synchronous head move to support the results of the headmovement of the proposed system. 6) To evaluate the SHMOV systemcapability in detecting out of frame incident by analyzing the crowdreactive behavior. Objective 6 delivers the results of the system testsand determines its capabilities in supporting the hypothesis that statesthat the synchronous head movement of the crowd as a human reactivebehavior responding to a nearby incident in a locked geographic locationand time presents is a valid metric for detecting out of frame incidentssupporting the SHMOV system as a system capable of detecting out offrame incidents.

As described herein, the devices, systems and methods, in someembodiments, are adapted to detect an outside of frame incident byautomatically analyzing the crowd reactive behavior that may betriggered by the human sensing capabilities. The devices, systems andmethods described herein may provide a crowd behavior-based synchronoushead movement (SHMOV) security system, and may provide an out of frameincident detection method using crowd sensing capabilities that resultin a reactive behavior. The SHMOV system's accuracy has been evaluatedand described in further detail below. An improved, automated securitysystem is described in some embodiments.

FIG. 1A is a diagram 100 of head synchronous movement conditions,according to some embodiments. FIG. 1A depicts the head synchronousmovement conditions for a stage 1 alert (main stage alert), as explainedbelow. In FIG. 1A, a series of temporally spaced image frames areprocessed to extract head objects and their characteristics, for one ormore heads visible in the image frames. A simplified illustrativeexample is shown in FIG. 1A where a number of representative heads areshown for five people in a crowd. A head 102 can have a direction, whichcan be represented in the form of a directional vector 104 associatedwith the estimated position of the head. In the first row, as the peoplein the crowd are each conducting their independent activities, theirhead objects indicate that they are each facing a variety of directions.

At the outset of an event 106, the five people in the crowd immediatelyand involuntarily react to an incident or a stimulus that has occurredout of the field of view of the camera. For example, a house hassuddenly caught fire due to a kitchen fire. The heads begin toinvoluntarily re-orient themselves, and synchronize in terms of theiralignment in a direction of a kitchen fire. As the kitchen fire and thehouse on fire may have multiple points of interest, it is not necessarythat the heads orient all towards a single point, but rather, they mayorient towards a set of points in roughly a similar or same direction.After a duration of time 108, the heads are locked in a direction, forexample, in less than 5 seconds, and may include other involuntarymovements, such as a recoiling as detected by head objects movingbackwards at 110.

In this example, the camera's images may be processed to determinewhether an abnormality or an incident artifact is in the field of view,and in this case, it is determined that the abnormality or an incidentartifact is not in the field of view. Based on the characteristics ofthe detected head objects over a plurality of image frames representingone or more durations in time, the one or more alert conditions may betriggered, which then can be used to control whether a movement signalis sent to an actuator to cause the movement of the camera.

FIG. 1B is a block schematic diagram of a controller device 112controlling one or more orientations corresponding to one or morecameras, according to some embodiments. The controller device 112 is asynchronous head movement (SHMOV) detection system can be a softwaremodule coupled to a hardware camera system, or implemented in the formof embedded firmware or computer-readable instructions (e.g., a computerprogram product). Other variations for implementing controller device112 are possible, such as being provided in the form of afield-programmable gate array, an integrated circuit or a system on achip coupled to a printed circuit board, among others. Simplervariations are also possible, for example, a microprocessor or specialpurpose chip for an application-specific integrated circuit. The inputcircuit 114 may, in some embodiments, include sensors for gatheringinformation, two cameras and a microphone.

The input circuit 114 requirement for the camera can be that the camerais be able to record at least 30 frames/second and may be for themicrophone to have a 5 Hz-30,000 Hz frequency response range and to bepolar response and to be omnidirectional to capture sound from all areassurrounding the microphone. Other types of cameras and microphones arecontemplated as well. The analysis circuit 116 can include a smartsystem described herein for analyzing the crowd behavior for reporting apotential incident and location of said potential incident. The resultscircuit 118 may deliver the analysis report of the out of framepotential incident that is taking or about to take place and theconfidence level for an automated action like moving the camera towardsthe head directions or providing an alert to security personnel. Theinput circuit 114, analysis circuit 116, results circuit 118 are notnecessarily circuits and in some embodiments can be software modulesaffixed as instruction sets on non-transitory computer readable media.

The controller device 112 is configured to track main stimulus responsesand secondary stimulus responses relating to the fight, flight andfreeze response using the analysis circuit 116. According toZolfagharifar, fear sharpens the senses and increases the heart rate toprovide huge energy to handle or survive a threat. If the threat ishigh, it can cause a freeze response which is an indication that thebrain is being overwhelmed.

The described devices, systems and methods utilize the sharpened sensesand the synchronous movement of individuals in the frame and the freezeresponse to detect a potential out of frame threat. Computer implementeddeterminations and machine learning approaches are utilized to trackhuman head characteristics that are utilized as a computational proxy totrack the fight, flight and freeze response. If sensors and human sensesare in place, utilized together with the advancements in deep learningtechnology, the controller device 112 can be utilized to build advancedsecurity solutions. Thus, the security system described herein, based oncrowd similar behavior of synchronous head movement (SHMOV).

Embodiments described herein introduce a crowd behavior-basedsynchronous head movement (SHMOV) system that incorporates controllerdevice 112, the system which may be a smart CCTV system that allows fordetecting out of frame incidents by analyzing crowd behavior andspecifically head synchronous movement among people as a reaction to anout of frame incident. The system may alert the security personnel of anout of frame incident and the location of the incident, where the headsmay be directed. In this embodiment, the security personnel can receivean indication that the security camera should be shifted, and may, insome embodiments, manually cause the movement (e.g., by approving thesuggested movement in the corresponding direction), or reject thesuggested movement. In another embodiment, the system can generate analert that automatically moves the camera if the suggested movement isnot rejected within a certain time frame (e.g., 2 seconds afternotification). The alert, for example, can be an audible alert, agraphical alert (e.g., causing the rendering of an interactive graphicalcomponent on a corresponding display of a device or application adaptedfor controlling cameras).

The controller device 112 provides the alert of a possible securityincident, if synchronous head movement occurs among a crowd in aspecific area by analyzing the video stream from a camera. Thecontroller device 112 can receive input data sets from input circuit 114(the input circuit coupled to one or more sensors and/or the camerarecording the plurality of image frames), and process the input datasets using analysis circuit 116 that is configured for head detectionand condition detection to trigger one or more stage alerts that arethen utilized to control a results circuit 118.

The input data sets can be received in various forms, for example, inthe forms of sequential image frames, as a multimedia container formatcontaining video and/or audio (e.g., AVI) and other metadata (e.g., timecodes), among others. The input data sets can include auditory data(e.g., microphone sound amplitude measurements), as well as data fromother sensors (e.g., thermometer, barometer). The input circuit 114requirements for the camera, for example, may be that the camera is ableto capture at least 30 frames/second and may be for the microphone tohave a 5 Hz-30,000 Hz frequency response range and to be polar responseand is omnidirectional to capture sound from all areas surrounding themicrophone.

The analysis circuit 116, in some embodiments, can be configured tosimplify and extract head object information from the input data sets.The ability to detect heads as objects utilizing deep learningtechnology then detect head direction and speed of head movement isinvestigated in embodiments described herein.

The analysis circuit 116 may be composed of a smart system for analyzingthe crowd behavior for reporting a potential incident and location ofsaid potential incident. The analysis circuit 116, in some embodiments,may start by continuously capturing a video stream from the first cameraand capturing the sound from the microphone.

The video stream may then analyzed continuously by: detecting the headsin frame by applying head-based object detection using convolutionalneural network that draws a bounding box around the individuals' headsseparately, and determining the head direction in a 360° radius for allindividuals in frame continuously.

It is hypothesized that when people synchronously move their heads fromvarious directions to be locked in one direction in a predefined speedand time, then a security incident may be taking place outside of thevisual frame. The system accuracy of analysis circuit 116 may beevaluated by introducing, for example, an accompanying deviation ofsound metric as well as facial expressions that occurs while thedetected synchronous head movement take place in a stage alert approachwhere each stage if triggered increases the probability of an incidenttaking place. Other variations are possible.

As described in various embodiments herein, the head object informationcan be obtained using trained machine learning models that are adaptedfor object detection in the image frames, and the head objectsthemselves can be simplified to reduce the difficulty of computation andimprove an ability to conduct real-time or near-real time control ofcamera operation.

The machine learning models can reside in the analysis circuit 116 insome embodiments as a predictor software or hardware module, or, in someembodiments, can be coupled to the analysis circuit 116 and updated overtime (either continuously or in batch, for example, in a firmwareupdate). The analysis circuit 116, upon raising one or more alertconditions, generates one or more output data sets which are thenprovided to the results circuit 118. The results circuit 118 isconfigured to process the output data sets of the analysis circuit 116to determine an amount and/or type of alert conditions being raised, andthen responsive to the permutation or combination of alert conditions,the results circuit 118 generates control signals that are used to causea motion of the camera to move the field of view (e.g., rotation,translation, or a combination thereof).

For example, motion can be controlled by one or more actuators 120 thatcontrol the motion of the camera as it rolls, tilts, pans, and/or yaws(e.g., to rotate the camera towards the event), or a translation along arail upon which the camera is mounted. In some embodiments, the camerais free to move around on its own (e.g., a camera mounted onto a drone).

Where more than one cameras are utilized together that have overlappingfields of view (e.g., the crowd remains in view of at least one camera),the results circuit 118 may be configured to cause a camera motion at alower threshold of alert conditions. Conversely, when there is only onecamera whose field of view is currently covering the crowd, the resultscircuit 118 may be configured to require a higher threshold of alertconditions before moving the camera (e.g., to avoid situations where thecamera is actively fooled by the crowd working together to turn theirheads in concert, or coincidental motions of unrelated people, or anon-startling incident, such as observations of a street performer). Insome embodiments, the number of alert conditions are utilized todetermine when an alert should also be generated, even if no incident isobserved when the camera is moved to the updated field of view. In someembodiments, the camera is moved as long as a main stage alert, or anystage alert is triggered.

In another variation, the results circuit 118 may be configured tomodify a threshold of alerts based on the number of people in the crowd.In this example, if there are less people in the crowd, there may be ahigher threshold of alert conditions required, and vice versa. Therationale for this modification is that it is more difficult tocoordinate the head movements of a larger crowd (e.g., a crowd of fiftypeople at a shopping mall) as opposed to a smaller crowd (e.g., twoindividuals walking on the street).

In another variation, the results circuit 118 may be configured to onlygenerate a report when the camera that is moved to the updated field ofview fails to observe an incident taking place (e.g., the incident tookplace hidden from the camera, for example, obstructed by a building).

The results circuit 118 may deliver the analysis report of the out offrame potential incident that is taking or about to take place and theconfidence level for controlling an automated action including movingthe camera towards the head directions or providing an alert to securitypersonnel. In some embodiments, the results circuit 118 generatescontrol signals for controlling an actuator for moving the cameratowards the head directions or towards a predicted incident location.

These control signals can include actuating a switch, generating controlvoltages to one or more motors, etc. The control signals then cause theactuator to effect the motion, for example, by causing a rotationaleffect of a rotary actuator, among others. The rotational effect may betemporary in some embodiments, for example, the results circuit 118 maybe configured to revert the direction of the camera following a periodof time back to the initial field of view. In some embodiments, theduration of time in the updated field of view is based on the number ofthreshold alerts that have been triggered (e.g., two seconds perthreshold alert). In some embodiments, the duration of time isdetermined by the type and/or severity of incident detected in the imageframe (e.g., by a machine learning classification mechanism).

In operation, the input circuit 114, analysis circuit 116 and resultscircuit 118 perform steps of a method including, but not limited to,process a plurality of image frames recorded by one or more cameras torecord one or more head orientations corresponding to head objectsidentified for a plurality of individuals in the plurality of imageframes over a first duration of time represented in the plurality ofimage frames; determining, from the one or more extracted headorientations, (i) an amount of synchronous alignment in the head objectsin a new direction within a threshold range of angles, (ii) a rate ofchange in the one or more extracted head orientations towards the newdirection, and (iii) a second duration of time in which re-orientationof the head objects begins and ends in the new direction; and responsiveto the amount of synchronous alignment in the head objects in a newdirection, the rate of change in the one or more extracted headorientations towards the new direction, and the second duration of timein which the re-orientation of the head objects begins and ends in thenew direction, controlling an orientation of at least one camera of theone or more cameras to move a field of view corresponding to the atleast one camera in the new direction.

Referring back to FIG. 1A, the controller device 112 may establish amain stage alert if the following conditions (or various combinations orpermutations of the below) are detected:

i. The head directions for at least 50% of individuals in framesynchronously align with a maximum of 35% difference, and

ii. The time from head start movement to stop is below 1500 ms, and

iii. The speed of change towards the new direction is over 45°/second,and

iv. The movement is a continuous move without changing angles, and

v. All crowd movements from start to stop is in less than 5000 ms.

The above five conditions may represent an incident occurring out offrame that people noticed and reacted to by giving it more attention,which informs the SHMOV system about an incident occurring and thedirection of where it is occurring, heads direction. The numbers in theconditions above represent one non-limiting example and may, in someembodiments, be tweaked to reduce false positives.

Other variations are possible. For example, the number of headdirections can be modified, the duration of time for the movements canbe modified, rate of change can be modified, among others. A balancedweighting is also possible where, for example, an overall contributionis tracked (e.g., a rate of change of 60°/second of the synchronouslyaligned heads may trigger an alert even if only 30% of individuals inthe frame synchronously align). In another variation, a weighting can beapplied to heads that are closer to an inferred incident—for example, ifa direction is established for the synchronous movement, heads closer(e.g., proximal along an axis of the direction) can be weighted more andheads further (e.g., lateral along the axis of the direction) can beweighted less.

Each condition strengthens the probability and reduces false positives.For instance, the more conditions which are satisfied, the more thesystem is accurate, and the system can be tuned to change the triggeringconditions which ultimately trigger an alert or a movement command. Theabove conditions may be arranged by priority and together may explainthe required behavior. For example, if heads move towards the samedirection but over an hour long time period, then it should not triggera main stage alert. In some embodiments, continuous movement withoutchanging angles may not be a required condition (i.e., condition 4). Itmay also be noted that the first condition refers to a newly moved tohead position, meaning the heads moved to a new direction and did notenter the frame in that direction. This is done to reduce falsepositives. For example, people walking in a line, looking in the samedirection, should not trigger an alert.

In some embodiments, a camera may first detect the heads by applyingobject detection for each head in the field of view. The camera may noteeach head direction by automatically feeding the images of each headinto a convolutional neural network, trained to determine headdirection. The system may continuously do this, verifying the above 5conditions, and determining if some or all of them return true. If theyreturn true, a main stage alert may be generated, and as explainedfurther below, the system may continue to check other supportingconditions to reduce false positives.

The system then confirms the alert by detecting if the head's directionstops at the same direction for over 2000 ms and create an additionalstage alert. Stage alerts are used to confirm the incident and reducefalse positives. They act as confirmation of incident by applyingfurther related conditions. If more conditions are detected, the alertis given a higher degree of confidence.

Further, the system detects if head movement while, in a “at pause”direction moves towards the back for few centimeters. In someembodiments, either the same camera or a second camera captures thefacial reaction of people in frame to detect if the eyes widen or clenchand detect the current emotion. If eyes widen or clench and a negativeemotion (surprise, fear, anger) is detected, an additional two stagealerts can be added in the report data structure to confirm and supportresults, which can then be used as an input into a classifier to controlautomatic movement.

In some embodiments, the system may detect backwards movement throughobject detection components, which detect where the head is and the headdirection. If, for example, the pixels of the head move towards theopposite side of the detected direction, the system may note thatbackwards head movement has occurred. The system may apply pixeltracking and may compare this to the detected direction. If pixeltracking moves on the opposite side of the detected direction, thesystem may note a backwards move. The system may then calculate the moveback by the number of pixels that it moved, and may log that number inthe report, which may then be used as an input to a classifier.

FIG. 2 is a flowchart diagram 200 of the analysis circuit data process,according to some embodiments. The analysis circuit 116 may be composedof a smart system for analyzing the crowd behavior for reporting apotential incident and location of said potential incident. The analysiscircuit 116, in some embodiments, may start by continuously capturing avideo stream from the first camera and capturing the sound from themicrophone, as shown in 200.

The example of FIG. 2 shows a potential set of conditions that triggervarious stage alerts, which can be then be utilized to determine whetheran incident has actually occurred and whether the cameras should becontrolled to change a field of view in at least one camera. It ishypothesized that the synchronous head movement of the crowd as a humanreactive behavior responding to a nearby incident in a locked geographiclocation and time presents is a valid metric for detecting out of frameincidents supporting the SHMOV system as a system capable of detectingout of frame incidents.

As shown in this example, there can be multiple stage alerts, which canthen be utilized in various permutations and combinations that aretunable to change how sensitive the system is to various stimuli.Increased sensitivity can lead to increased false positives, which, insome cases may be acceptable (e.g., where there are two or more camerascovering the same field of view such that a false positive does notcause a loss of coverage). In other situations, for example, a retrofitwhere there is no such redundancy, a higher threshold of alertconditions may be required to cause a change in field of view as thecamera will no longer be covering a particular original field of view,but will have an attention shifted to a new field of view.

There are many variations contemplated, where a combination of at leastone of the stage alerts are used to trigger the movement. The alerts arenot necessarily required in the order shown in FIG. 2, and may beconducted out of order, or in different combinations or with alternatestage alerts. For example, not all implementations will have facialfeature recognition abilities. As a specific embodiment, when a mainstage alert is triggered, in some variations, the camera is controlledto conduct a shift in a field of view.

In some embodiments, when a main stage alert is generated the camera maymove and the system may alert security personnel. The additional stagealerts may be used to reduce false positives if any, and are recorded inthe alert report. These percentages may be adjusted, depending on wherethe system is utilized. An operator may input these percentages and maybe required to find an appropriate threshold to reduce false positivesand false negatives. For example, in one location a main stage alert mayrepresent 90% certainty, whereas at another location a main stage alertmay only represent 40% certainty, thus the system may only triggercamera movement at 65%. The percentages can be dependent on useenvironment where the system is deployed, such as a train station,underground parking, airport, street, among other locations.

Accordingly, the results circuit 118 is configured to generate a reportdata structure representative of the out of frame potential incidentthat is taking or about to take place and the confidence level for anautomated action such as moving the camera towards the head directionsor providing an alert to security personnel to make a move. The alertstages determine the assurance and confidence of the system that anincident has occurred. In an example, the main stage alert provides a50% probability of an incident while the supporting five stages increaseconfidence by 20% when providing the alert report for a total of 100%.

Referring to the flowchart 200, the video stream may be analyzedcontinuously or periodically, detecting heads in frame and determiningthe head direction in a 360° radius for all individuals in frame. Theheads in frame may, in some embodiments, be detected using aconvolutional neural network (CNN) that draws a bounding box around theindividuals' heads separately.

The CNN is trained with head images and orientations thereof, and isadapted to track one or more characteristics of the head objects asseparate objects. The CNN detects heads if they are in the field of view(e.g., image at t=5.45 s shows 6 heads, transformed into correspondinghead object tuples (head size=45 pixels, position of head in frame (x,y), estimated orientation relative to a reference direction=35 degrees,estimated directionality of head=(−5, 4)). The visible characteristicsof a head can then be extrapolated to estimate non-visible parts of thehead (if the front of the face is visible, the back of the head can beestimated as being directly on the opposite side of the head). There maybe tuples directed to facial expressions (e.g., eyes widening, facialclenching), as measured by specific objects detected on the faces (e.g.,eye width, facial feature span).

The distance of the head (z) from the camera can be inferred from thehead size relative to one or more reference head sizes. For example, asingle reference head size can be used for a rough estimation, ormultiple reference head sizes (e.g., youth, man, woman, child) can beused for a finer estimation. Accordingly, the position of the head canthen be extended to a (x, y, z) coordinate or an equivalentrepresentation (e.g., using cylindrical coordinates, sphericalcoordinates). Over time, the head tuples can be tracked to determinechanges in characteristics. The head size, position, orientation, etc.can be used to establish, over a duration of time, a rate of change, abackwards movement, among others. Furthermore, tuples directed to facialexpressions can also be tracked to observe a change (e.g., eye widthdecreased or increased, facial span grew or shrunk indicative ofclenching or an opening of a mouth).

The above five conditions described above which may represent anincident occurring out of frame that people noticed and reacted to bygiving it more attention, which informs the SHMOV system about anincident occurring and the direction of where it is occurring, headsdirection.

The system may, according to some embodiments, confirm the alert bydetecting if the head's direction stops at the same direction for over2000 ms and create an additional stage alert. Stage alerts are used toconfirm the incident and reduce false positives. They act asconfirmation of incident by applying further related conditions. If moreconditions are detected, the alert is given a higher degree ofconfidence. Further, in some embodiments, the sound stream analysis fromthe microphone may be activated and captured, prior to main stage alertby 10 seconds and following the main stage alert by 10 seconds, a totalwindow of 20 seconds. The analysis circuit 116 may report if soundamplitude prior to the head synchronous movement increased by at least30%, signal deviates significantly. If yes, the system may create afurther stage alert and pass the data to the results circuit 118. Forexample, typically the sound amplitude output is 40 dB, 43 dB, and 39dB, where the system may determine a baseline (e.g., an average) for theenvironment. If the sound amplitude increases above the calculatedaverage by 30% or more, then the system may generate an additional stagealert that is related to an incident with sound.

In an alternate embodiment, the processor may be configured to establisha main stage alert if: the amount of synchronous alignment in the headobjects for at least 50% of the one or more head orientationssynchronously align within the threshold range of 35% difference, therate of change in the one or more extracted head orientations towardsthe new direction is over 45 degrees per second, the movement towardsthe new direction by the head objects is a continuous move withoutchanging angles, the time for each head object movement is within 1500ms, and an overall time for movement of all the aligned head objects iswithin 5000 ms.

In another alternate embodiment, the processor may be configured toconduct a second detection step whereby the head objects are tracked todetermine whether the synchronous alignment in the head objects ismaintained for over 2000 ms, and upon a positive determination, generatea second stage alert, and wherein the main stage alert and the secondstage alert are utilized in determining whether the control of anorientation of at least one camera of the one or more cameras to movethe field of view should be triggered.

In an alternate embodiment, the processor may be configured to conduct athird detection step whereby the head objects are tracked to determinewhether the head objects are moved in a corresponding backwardsdirection during the 2000 ms, and if the corresponding backwardsdirection is observed, generate a third stage alert; wherein the thirdstage alert is also utilized in determining whether the control of anorientation of at least one camera of the one or more cameras to movethe field of view should be triggered.

In an alternate embodiment, the processor may be configured to conduct afourth detection step whereby the plurality of image frames areprocessed to identify one or more changes in eye shape objects or one ormore changes in facial expression objects corresponding to the headobjects, based on the changes in one or more changes in eye shapeobjects or the one or more changes in facial expression objects,generate an fourth stage alert; wherein the fourth stage alert is alsoutilized in determining whether the control of an orientation of atleast one camera of the one or more cameras to move the field of viewshould be triggered.

In an alternate embodiment, the processor may be configured to conduct afifth detection step whereby captured audio recordings are processed toidentify one or more changes in audio amplitude and, based on thechanges in the audio amplitude, generate an fifth stage alert; whereinthe fifth stage alert is also utilized in determining whether thecontrol of an orientation of at least one camera of the one or morecameras to move the field of view should be triggered.

In an alternate embodiment, the one or more changes in audio amplitudemay be sensed from a coupled microphone adapted to capture soundcharacteristics prior to the main stage alert for a first duration oftime, and to capture sound characteristics after to the main stage alertfor a second duration of time, and wherein the fifth stage alert isgenerated when the sound characteristics during the second duration oftime indicate an increase in 30% of sound amplitude relative to thefirst duration of time.

In respect of reporting the alert, location, and alert stage, acombination of the alerts can be utilized to control to camera to movethe field of view. Moving the field of view corresponding to the atleast one camera in the new direction may include controlling at leastone of pan, tilt, or yaw of the one or more cameras to in the newdirection until a recognized incidence object is detected or centeredwithin the field of view.

The head objects may each be associated with a geospatial coordinate((x, y) or extended to (x, y, z)) and the one or more recorded headorientations are utilized to establish a corresponding vector from thehead object towards the re-orientation of the head, and the newdirection is established by extrapolating the corresponding vectors fromthe geospatial coordinates to an intersection point (or a set ofpotential intersection areas, such as a point cloud). The intersectionpoint may be utilized to determine the control of the orientation of atleast one camera of the one or more cameras to move the field of viewcorresponding to the at least one camera in the new direction such thatthe field of view includes the intersection point.

FIG. 3 is an example diagram of 36 direction marks on dataset images,according to some embodiments. Each of the objectives, 1 through 6, areaddressed by providing the detailed analysis information that areapplied to the experiment data and reporting the results that lead toevaluating the proposed SHMOV security system. Each direction mark showsa difference in 10 degrees.

An embodiment of the proposed SHMOV system using controller device 112was assessed using an experiment on 20 participants in an auditory,visual and olfactory settings and it indicates the potential of thetechnology with 100%, 100% and 80% incident detection accuracy in 9, 24and 47 seconds from the start of incident until controller device 112reported it in a controlled environment settings respectively.

The experimental results and data analysis were conducted using anon-limiting embodiment of the described system. The results arediscussed in further detail below.

The video recordings from the experiment are fed to a convolutionalneural network (CNN) to extract the location of heads in the videostream. The CNN was trained using Tensorflow Object Detection API usingFasterRCNN and InceptionResNet V2 module with hollywood head dataset forthe classifier to be able to detect heads of people in a video feed withthe batch size of 10 at 5 epoches and a learning rate of 0.01. The modelreached 99% accuracy in detecting heads in a video stream, whichachieves Objective 1 that states “To detect the heads from the videofeed of a CCTV camera.”

Head direction may be detected by training a CNN on top down view ofheads in all 36 possible directions in the 360° with a difference of 10°for simplicity purposes. The 36 degrees are 10 to 360 with a 10°increments, as seen in 300. The dataset was built by taking video feedof 5 individuals at each of the 36 directions for a period of 2 minutesper direction per individual, a total of 3600 images per direction, atotal of 129,600 images per individual in all 36 directions, a total of648,000 images for the dataset. The dataset may then be pre-processedand labeled, with the direction, and fed to a FasterRCNN andInceptionResNet V2 module with a batch size of 10 at 5 epochs and alearning rate of 0.01 achieving an 87% accuracy.

In head direction detection, the system feeds the head image in abounding box to the trained CNN, and it may return the direction in the360 degrees (or in another type of directionality representation). Insome embodiments, training may be done once, and the trained CNN may beused to detect head direction.

In a variant, the images were marked with all 360 degrees, a 360° angledesign, as depicted in FIG. 3 and the data set was rebuilt and thesystem re-trained the FasterRCNN and InceptionResNet V2 with the sameparameters. The head direction detection accuracy was improved in thisvariation to 99%.

In a simplified representation, it is possible to decrease the fine-nessof the angular representation (e.g., down to four directions, eightdirections or sixteen directions). A reduced resolution representationis useful in situations where there is very constrained computing power(e.g., the controller device 112 is a low clock speed or reducedcomputing power microprocessor), such as situations where the controllerdevice 112 is being operated as a battery powered device in a remotelocation.

The training images can be marked accordingly, and having differentresolutions of orientation. However, a reduced representation using asimplified version of 4 directions or 6 will increase false positives.The more accurate the system in detecting the head direction the lessfalse positives the system will have.

FIG. 4A is an example diagram of head movement, illustrative of a methodfor performing head movement tracking, according to some embodiments.The head movement tracking depicted in 400 may be mapped to 36 directionmarkers of 300, for extracting the degree of movement. This alsoachieves Objective 2 that states, “To detect heads directions in a 360°range.”

Applied object movement tracking may be applied by tracking the frontend of the head per frame to record the movement. In some embodiments, aversion having fewer directions may be used, such as 4 or 6 directions,although, this may increase false positives. The more accurate thesystem may be in detecting head direction, the fewer false positives thesystem may have.

The head movement speed and time may be detected by analyzing the headdirection degree per frame. This achieves Objective 3 that states, “Todetect the speed and degree of movement of heads,” which allows fordetecting the five conditions that form the main stage alert, asdescribed above.

It is important to recognize that for a camera, the images obtained areobtained at a particular perspective of the camera and additionalprocessing steps may be required to convert the heads in the images intoa representation as shown in FIG. 4A, and FIG. 4B.

In some embodiments, a machine learning model is applied to thesequential images to transform the camera images into a simplifiedrepresentation where head object data structures are compared instead.In this example, the images are transformed into head object tuples thatmay be established in two dimensions or three dimensions as a simplifiedrepresentation, which is then analyzed to control motion to change thefield of view.

In this simplified two-dimensional representation, the camera images arethus converted into a set of heads at specific time steps havingpositional coordinates (x, y, orientation) relative to the position ofthe camera (xcamera, ycamera). The change in x, y, and orientations overtime can then be used to trigger the main stage alerts based on aninferred incident direction based on the aggregated movements of aproportion of the tracked heads.

For example, in a duration of frames (e.g., 5000 ms), a synchronousalignment is first detected whereby a number of heads (e.g., >50% of theheads in frame) now became oriented towards a new direction based on thehead positional coordinates and their corresponding orientations.

The corresponding orientations can be extrapolated to indicate thatthere is less than a 35 degree difference between what the differentheads are observing, for example.

An example chart is shown below in respect of three hypothetical headsand notations regarding movements in respect of a two dimensional plane.More complex examples are possible, including information in respect ofmicrophone sound amplitude captures (even before T=0 s), among others.Even more complex examples are possible where the directionality isestablished in three dimensions instead of two dimensions, and thecamera is rotated in both in terms of an angle and an altitude to eitherscan in the new direction or to lock in on the intersection (point,centroid, or point area/centroid area) of the head orientations.

Time Head 1 Head 2 Head 3 Notes T = 0 s (1, 5, −80 (1.4, 5, 150 (0.5, 5,−35 People degrees degrees) degrees) clustered near degrees) each otherbut facing different directions, House caught on fire due to stove beingleft on, loud sound T = 0.5 s (1, 5, 35 (1.4, 5, 70 (0.5, 5, 15 Allheads start degrees) degrees) degrees) turning towards the source of thefire, people are startled T = 1 s (1, 5, 40 (1.4, 5, 60 (0.5, 5, 35 Allheads degrees) degrees) degrees) continue turning towards the source ofthe fire T = 1.5 s (1, 5, 41 (1.4, 5, 55 (0.5, 5, 40 All heads degrees)degrees) degrees) continue turning towards the source of the fire,synchronous alignment detected T = 2 s (0.8, 4.8, 42 (1.2, 4.8, 51 (0.3,4.7, 41 Heads locked in degrees) degrees) degrees) direction with aslight backwards motion, eyes widen and face span changes T = 2.5 s(0.75, 4.7, 46 (1.1, 4.5, 54 (0.2, 4.6, 43 Backwards degrees) degrees)degrees) motion continued T = 3 s (1, 5, 44 (1.4, 5, 53 (0.5, 5, 43Heads return to degrees) degrees) degrees) original position, locked innew direction T = 3.5 s (1, 5, 45 (1.4, 5, 50 (0.5, 5, 40 Heads returnto degrees) degrees) degrees) original position, locked in new directionT = 4 s (1, 5, 46 (1.4, 5, 51 (0.5, 5, 39 Heads return to degrees)degrees) degrees) original position locked in new direction T = 4.5 s(1, 5, 44 (1.4, 5, 49 (0.5, 5, 41 Heads return to degrees) degrees)degrees) original position, locked in new direction T = 5 s (1, 5, 45(1.4, 5, 50 (0.5, 5, 40 Heads return to degrees) degrees) degrees)original position, locked in new direction

In the above example, the camera may be located at (0, 0), and may beobserving an initial field of view from −45 to −15 degrees (it isobserving the street). The camera may then establish the new direction(e.g., around 45 degrees, in the direction of the house) from thesynchronized heads (if not all heads turned). In some embodiments, thenew direction is then utilized as an average of the direction of theheads (or a weighted average if some heads are closer than others) andthe camera is controlled to rotate in that direction. In anotherembodiment, the head directions are extrapolated to establish anintersection point or point cloud (e.g., where they intersect or wherethey intersect with a predetermined degree of uncertainty). Theintersection point or point cloud is easier to assess if the headobjects are spaced out spatially. In some embodiments, the controllerdevice 112 is configured to track only a direction if the head objectsare clustered together in a same quadrant or portion of the frame atapproximately the same distance (it is too difficult to estimate anintersection point with sufficient accuracy), and to track theintersection point or point cloud only where there at least two headsspaced out spatially.

A predetermined degree of uncertainty can be modelled, for example, as acone that enlarges from the originating head position, and theoverlapping areas of the various cones can be used to establish the newdirection or the area in which the field of view needs to be shifted to.In some embodiments, in addition to rotating in the direction, thecontroller device 112 controls the camera to center the field of view atthe estimated intersection point or the centroid of where the conesintersect.

For example, in FIG. 4A, when there is a movement of the head object, itcan be represented across multiple sequential image frames, as a seriesof tracked head directions from an initial orientation 402, tointermediate orientation 404, 406, . . . to final orientation 408. Eachof these orientations can be represented in the data structure as arotation angle or vector relative to a reference.

FIG. 4B is an example diagram of head movement, illustrative of a methodfor performing backward head movement detection, according to someembodiments. In particular, 410 depicts backward detection in headmovement in the 2000 ms pause. As shown here, initial back head position412 can be tracked from the machine vision object detection, withintermediate head positions 414, 416, 418 being observed in sequentialframes, with a final head position 420.

A dot may be centered by the back edge of the head inside the boundingbox, and the pixel direction changes may be record per frame in the 2seconds pause after an incident took place, a total of 60 frames (60locations). The move back reaction may be recorded to determine if itexists using OpenCV, for example.

As a non-limiting example, take a pixel with coordinates (X:250, Y:250),which then moves to (250, 249), followed by a move to (250, 247), thento (250, 245). The system may have 60 inputs within the 2 second pause.If the direction, in this case moving up within the camera frame, giventhat (0, 0) is the top left corner and head direction is down (i.e. theperson is facing the camera), then there is backwards head movement. Inanother example, a person may be facing right, with movement from (250,250) to (249, 250), then to (248, 250). The pixels are moving to theleft and if the head direction is determined to be facing right then thehead is moving back.

If the back of the head is not visible, it can nonetheless be estimatedby observing the front of the face and extrapolating a point in the rearof the head as being directly opposite to the front of the face. Thesize of the face over a period of time can be tracked to determine ifthe head moved backwards based on an orientation and trajectory of thehead (e.g., if the person is facing the camera, the head size shiftsfrom 35 pixels to 32 pixels, indicating a rearwards movement). The headsize in combination with the estimated orientation can be used todetermine the amount of backwards movement in the axis of the inferredincident direction.

FIG. 5 is an exemplary illustration, illustrative of face landmarkpoints, according to some embodiments. A facial detection library may beused to detect faces in the 2 seconds pause that may be fed to a FaceEmotion Recognition (FER) and report the emotion for each participant.Further, eye widening or clenching may be detected using OpenCV.

After detecting the face, the image may be converted to grayscale anddetect where the eyes are using the landmark points as depicted in 500,numbers 37-42 for the right eye and number 43-48 for the left eye. Avertical line may be drawn in the midpoint between landmark points 38and 39 and a point between the landmark points 41 and 42 for the righteye and the same for the left eye. In some embodiments, it may becomputed if the line stretches in length (eye widening) or reduces inlength (eye clenching).

The line lengths can be tracked over time as part of each of the headdata object characteristics. For example, a head data object may beaugmented such that the head data object for a particular time includes(timestamp, headid, headsize, headx, heady, lefteyelength,righteyelength, headdirection).

In some embodiments, when computing eye movement, the importance to thesystem may be to detect change of eye movement. For instance, for eyewidening, the system may determine how long the line has become, and foreye clenching, the system may calculate how small the line has become.This may be measured during the 2 second pause and may last at least1000 ms to avoid blinking (100-300 ms) and reduce false positives. Headobjects can be tracked over the period of time by observing rates ofchanges in the head object data structures.

In this experimental example embodiment, the microphone signal may thenbe exported to a csv file and pre-processed to include only the priortwo head synchronous movement by 10 seconds for 20 seconds if the singleincludes a positive deviation rate of above 30% change.

The report data structures can include alerts or control in relation todetecting out of frame incident by analyzing the crowd reactivebehavior. The data structures includes reports of whether an incidentoccurs and reports of the correct time and direction of the incident.These face landmark features can be utilized as a proxy to measure eyewidening, facial expressions, mouth expressions (e.g., a span of themouth), which can all be used as inputs into a stage alert that thecontroller circuit 112 can utilize for determining whether a cameramovement should be conducted.

FIG. 6 is an example diagram of the system, illustrative of an examplepotential use-case scenario, according to some embodiments. Diagram 600demonstrates a potential scenario where SHMOV may be used.

In this non-limiting example, a CCTV system may have six individualswithin a camera frame 610. In this example, a car may have caught fireoutside of the camera frame. This may prompt the six individuals withinframe 610 to, in a synchronous manner, move their heads to observe thecar fire. If the appropriate stage alerts are triggered, as describedabove, the CCTV system camera may pan or move its frame to determinewhat all six individuals at.

The camera will then automatically determine an intersection point,based on the orientation and direction of the individuals heads, and thesystem may allow the camera frame to observe the car fire in 620.

For example, in some embodiments, a main stage alert may be generated ifat least three of the six individuals in frame 610 synchronously alignwith a maximum of 35% difference, moving their heads continuouslywithout changing angles from start to stop in less than 1500 ms, with aspeed of over 45°/second, and all crowd movements from start to stop arein less than 5000 ms. In other embodiments these numbers may be tweakedto reduce false positives, for example.

These conditions represent an incident is occurring outside of frame. Inthis scenario, a car fire is taking place outside of frame 610 and inframe 620. People noticed this event and reacted to it by giving theincident more attention. This may inform the SHMOV system provided bycontroller device 112 of the occurring car fire, and the direction ofwhere it is occurring based on the heads direction.

The controller device 112 may confirm the alert by detecting if theheads direction stops at the same direction for over 2000 ms, and maycreate an additional stage alert. Further stage alerts may act asconfirmation of an incident, in this case a car fire, by applyingfurther related conditions. If more conditions are detected, the alertmay be given a higher degree of confidence, and may reduce falsepositives.

In some embodiments, following the confirmation given by the generationof a main stage alert, additional stage alerts may be generated to sendsecurity personnel to the location or to move multiple cameras to theincident location and corresponding locations (paths towards thelocation, etc.), among other actions. For example, if a car fire occursand the system detects the reaction and location, a camera may movetowards this direction, but if it does not see anything the system maysend an alert to the other cameras to move towards the ways leading tothe incident location. This may be useful to track moving subjects, forexample, if the car on fire were still moving. In some embodiments, thesystem may instruct one camera to move towards the location based onreactions, while the camera which detected said reactions may movetowards a predicted location where the incident might be taking place.

The controller device 112 in some embodiments, may further detectbackwards head movement by a few centimeters. A second camera maycapture the facial reaction of the individuals to identify a negativeemotion such as surprise, fear or anger, by detecting if the eyes widenor clench. If a negative emotion is identified, an additional two stagealerts may be added in the report to confirm and support the results.

The controller device 112 as shown in the example diagram 600 may, insome embodiments, activate the sound stream analysis from a microphoneto capture a window of 20 seconds, capturing 10 seconds before and afterthe detected incident. In this example, the car fire may have made anoise, and if there was a 30% increase in sound amplitude prior to thesynchronous head movement, another stage alert may be generated.

The experimental methodology described herein was proposed to addressthe objectives, as such human experimentation was conducted mainly dueto the nature of the study in analyzing human reactive behavior towardsan out of frame incident.

A) Experiment Goal:

The main goal of the experiment to collect head movement data ofindividuals in a locked geographic location that allows for evaluatingthe proposed system's capability of detecting an out of frame incident.

B) Subjects:

A group of healthy with no allergy 20 participants, male and female,aged between 18-36 years participated in the experiment. As the maingoal is to collect head movements, all participants were instructed notto cover their heads during the experiment. All participants volunteeredto participate.

C) Procedure:

Participants were asked to read and sign a consent form that stated thata memory test is to take place. They were divided into four groups with5 participants in each group. Each group of participants were asked toremove anything that covers their heads and asked to get to know eachother asking questions about their hometown, favorite sport and travelinterests prior to the start of the experiment while the experimentalready started without their knowledge.

Two cameras were placed in the experiment room, a camera and microphonewere placed on top of their seating area at a 270° angle and a secondcamera was placed in the direction where people should show a reactiontowards, which is used to capture facial reaction, and then startedrecording. The first 2 minutes were left with no stimuli, then astimulus or stimuli were presented depending on the group. The stimulilast for 30 seconds to 60 seconds depending on the type of stimulus.Seating were designed in a circular theme, where each participant isfacing all others.

Group A were stimulated with loud, 95 dB, music played by a speakerplaced by the left side of the camera for 30 seconds.

Group B were stimulated with the experimenter entering the room from theright side of the camera for 30 seconds.

Group C were stimulated with a smell of burned food outside of whereparticipants were seated by the left side of the camera for 60 secondswith a fan directed to the participants location.

Group D were stimulated with both the experimenter entering the room andmusic from the other direction, left and right, simultaneously for 60seconds.

Since all locations of incidents are pre-defined, the aim of theexperiment in all A, B, C and D groups is to evaluate if the system iscapable of determining the moment the incident occurs and the locationof where it is occurring using the crowd reactive behavior towards thestimulus. Participants were later informed about the goal of theexperiment and asked to sign a consent form to publish the results.

D) Procedure Discussion:

Group A participants were stimulated with an auditory stimulus whichsimulates gun shots, or a dangerous auditory stimulus while Group B werestimulated with a visual stimulus which simulates a visual incident.Group C were stimulated with an olfactory stimulus which simulates agas, fire incident; however, the sense of smell usually does not reporta specific direction when compared to visual or auditory. Group D werethe only group presented with two different stimuli in two oppositedirections to evaluate how people behave and how the system reacts insuch case. Participants were not informed about the true goal of theexperiment in order to simulate a real environment. Participants wereseated in a circular theme in order to detect the reactive behaviortowards the source of the threat and test it starting from all headsdirected to different locations.

E) Test Environment:

To measure the synchronous head movement and test the proposed system,we placed a camera and microphone on top of the seating area of theparticipants covertly at a 270° angle, pointing down and a second camerapointing towards participants faces when they react towards the stimulusto capture their facial reaction. The cameras capture 30 frames/secondand the microphone has a 5 Hz-30,000 Hz frequency response range and ispolar in response and is omnidirectional.

Participants were instructed to enter a room that has closed windows andtwo opposite open doors and select a seat prior to the memory test thatwill start in few minutes. Then each group were stimulated depending onthe group they were assigned. The video and microphone data wererecorded and prepared for the analysis phase to address the objectivesand test the hypothesis.

Each group A, B, C, and D's data from the experiment were processed bythe analysis circuit of the experimental example embodiment of the SHMOVsystem as per the SHMOV data process for evaluating the proposed systemif it is capable of detecting out of frame incidents by analyzing thecrowd synchronous head movement.

Group A:

The analysis showed a head movement of all participants in Group Atowards the left side, auditory source, in 20° direction differenceamong participants at an average speed of 80°/s in a 1050 ms as acontinuous movement with a 1400 ms move from first participant to lasttriggering the main stage alert. All participants were locked in placefor 5240 ms triggering the additional stage alert and reporting thedirection of incident. Next, back movement was detected, and eyes werewidened, and emotions were detected to be negative (surprise and fear)triggering the additional three stage alerts. Further, the sound volumeincreased by 93% triggering the last stage alert at 100%. The durationfrom stimulus until SHMOV reported the incident and direction ofincident is 9 seconds.

Group B:

The analysis showed a head movement of all participants in Group Btowards the right side, visual source, in 20° direction difference amongparticipants at an average speed of 70°/s in a 1410 ms as a continuousmovement with a 4720 ms move from first participant to last triggeringthe main stage alert. All participants were locked in place for 8490 mstriggering the additional stage alert and reporting the direction ofincident. Next, back movement was detected, and eyes were widened, andemotions were detected to be negative (surprise and fear) triggering theadditional three stage alerts. Further, the sound volume increased by65% triggering the last stage alert at 100%. The duration from stimulusuntil SHMOV reported the incident and direction of incident is 24seconds.

Group B were directed by two participant who noticed the experimenterstanding by them and her movement reaction triggered the otherparticipants reaction to move their heads towards the experimenter.

Group C: The analysis showed a head movement of three participants inGroup C towards the door side, left side (olfactory source), in 30°direction difference among participants at an average speed of 50°/s ina 1486 ms as a continuous movement with a 15450 ms move from firstparticipant to last triggering the main stage alert if omitting thegroup 1st to last move towards the source due to the nature of thestimulus being olfactory. All participants were locked in place for 2404ms triggering the additional stage alert and reporting the direction ofincident. Next, back movement was not detected, yet eyes were clencheddue to the nature of the stimulus being olfactory, and emotions weredetected to be negative (surprise) triggering the additional two stagealerts instead of three stage alerts. Further, the sound volumeincreased by only 22% not triggering the last stage alert leaving thetotal stage alert at 80%. The duration from stimulus until SHMOVreported the incident and direction of incident is 47 seconds.

Group C were directed by one participant who noticed the smell of foodburning her movement reaction triggered the other participants reactionto move their heads towards exit.

Group D: The analysis showed a head movement of all participants inGroup D towards the left side, auditory source, and then the right side,the visual source in 20° direction difference among participants at anaverage speed of 90°/s in a 1074 ms as a continuous movement with a 1480ms move from first participant to last triggering the main stage alert.All participants were locked in place for 5700 ms triggering theadditional stage alert and reporting the direction of auditory incident.Next, back movement was detected, and eyes were widened, and emotionswere detected to be negative (surprise and fear) triggering theadditional three stage alerts. Further, the sound volume increased by93% triggering the last stage alert at 100%. The duration from stimulusuntil SHMOV reported the incident and direction of incident is 8.4seconds. The system then created a second alert due to the secondreaction towards the experimenter that shows similar results to Group B.

To reduce false positives depending on the environment the SHMOV systemis deployed at and depending on the sensing capability the system relieson, the following parameters in some embodiments may be tweaked:

i. The number of heads synchronously aligned at a specific direction.

ii. The alignment difference acceptable range.

iii. The speed of degrees per second.

iv. If continuous move is required or angled move is also acceptable asseen in the olfactory and multiple stimuli groups.

v. The time from first move to pause for all people in frame.

vi. The duration of pause.

vii. The back movement during pause.

viii. The percentage of eye widen or clench.

ix. The magnitude of detected emotion.

x. The magnitude of sound deviation rate, and

xi. Assigning a weight value for each of the above stage alerts.

The table below, summarizes the experiment results and the reportedstage alert and time from incident to alert. The results support themain hypothesis that states that, “The synchronous head movement of thecrowd as a human reactive behavior responding to a nearby incident in alocked geographic location and time presents is a valid metric fordetecting out of frame incidents supporting the SHMOV system as a systemcapable of detecting out of frame incidents, with a fastest detection ofan incident from start at 8.4 seconds.

Group A B C D Stimulus Type Auditory Visual Olfactory Both Auditory andVisual Stimulus Source Left Right Spread Left and Right Direction(source right door) % of subjects move to 100% 100% 60% 100% samedirection Degree Difference 20° 20° 30%  20% among participants Avg.speed of 80°/s in 70°/s in 1410 50°/s in 1486 90°/s in 1074 ms movementand time 1150 ms ms ms Continuous? Yes Yes for 3 and Yes for 3 and Yesfor 5 towards no for 2 no for 2 sound and then Directed by Directed byMoved towards two one visual stimulus participants participant 1stparticipant to last 1400 ms 4720 ms 15450 ms 1480 ms Auditory timer(Omitted due 4471 ms Visual to the nature of the stimulus beingolfactory) Avg. Pause time 5240 ms 8490 ms 2404 ms 5700 ms Auditory 9429ms Visual Back movement Yes Yes No Yes 4 out of 5 3 out of 5 (No stage(All) alert) Eyes behavior changed Yes Yes Yes (All) Yes (Widened)widened or clenched? (Widened) (Widened) (Clenched) Emotion SurpriseSurprise (4) Surprise (5) Surprise (2) (3) Fear (1) Fear (3) Fear (2)Sound Amp.  93%  65% 22% 93% Auditory (No stage 57% Visual alert)Incident Detected? Yes Yes Yes Yes Two alerts Auditory then VisualDuration between 9 seconds 24 seconds 47 seconds 8.4 seconds incidentand detection (Auditory) 28 seconds (Visual) Stage Alert 100% 100% 80%100% Auditory 100% Visual

This application describes, in some embodiments, SHMOV, a securitysystem that takes advantage of the sensing capabilities of humans andturn their senses into an indication of an incident even if it isoutside of the video frame.

The system, in some embodiments, monitors the head movement ofindividuals by applying object detection to detect the head of allindividuals in the frame using Convolutional Neural Network (CNN). Thesystem may then compute the direction of everyone's head periodicallyand reports if the conditions in the SHMOV data process are true. Thesystem may then initiate a main stage alert that is strengthen bydetecting further cues such as remaining in a locked direction, a headback movement occurs, emotion, eyes behavior and any abnormal soundhappens.

An example embodiment of the system has been evaluated in an experimentsettings of 4 groups each is stimulated using a specific human sensecapability namely, Auditory, Visual and Olfactory and showed the systemcapability in detecting each incident with a 100%, 100% and 80% accuracyin a speed of 9 seconds, 24 seconds and 47 seconds respectively.

Further embodiments of the system may include analyzing other crowdbehavior responses based on human sensing capabilities to danger likecrowd hand movement pointing to danger or an abnormal running happens ina locked period of time that depends on the sensing capability that isutilized and the environment where the system is deployed and the typesof possible dangers that might take place. Other alternate embodimentsmay involve improving the head direction movement capability with ahigher precision to reduce the false positives. The system can beapplied in real world scenarios where heads of some individuals arecovered and reporting how the covering impacts on the system accuracyand steps may be taken to mitigate these issues.

FIG. 7 is a schematic diagram of a computing device 700 such as aserver. As depicted, the computing device includes at least oneprocessor 702, memory 704, at least one I/O interface 706, and at leastone network interface 708.

Processor 702 may be an Intel or AMD x86 or x64, PowerPC, ARM processor,or the like. Memory 704 may include a combination of computer memorythat is located either internally or externally such as, for example,random-access memory (RAM), read-only memory (ROM), compact discread-only memory (CDROM). Each I/O interface 706 enables computingdevice 700 to interconnect with one or more input devices, such as akeyboard, mouse, camera, touch screen and a microphone, or with one ormore output devices such as a display screen and a speaker.

Each network interface 708 enables computing device 700 to communicatewith other components, to exchange data with other components, to accessand connect to network resources, to serve applications, and performother computing applications by connecting to a network (or multiplenetworks) capable of carrying data including the Internet, Ethernet,plain old telephone service (POTS) line, public switch telephone network(PSTN), integrated services digital network (ISDN), digital subscriberline (DSL), coaxial cable, fiber optics, satellite, mobile, wireless(e.g., Wi-Fi, WiMAX), SS7 signaling network, fixed line, local areanetwork, wide area network, and others.

Computing device 700, in some embodiments, is a special purpose machinethat may reside at a data center. The special purpose machine, forexample, incorporates the features of the controller circuit 112 and isprovided in a portable computing mechanism that, for example, may beplaced into a data center as a rack server or rack server component thatinteroperates and interconnects with other devices, for example, acrossa network or a message bus, and configured to control one or moresecurity cameras.

In another embodiment, computing device 700, is a special purposeintegrated circuit that is adapted with limited instruction sets to beretrofit onto an existing camera control implementation to modify whenthe camera should be controlled to move in a particular direction.

The term “connected” or “coupled to” may include both direct coupling(in which two elements that are coupled to each other contact eachother) and indirect coupling (in which at least one additional elementis located between the two elements).

Although the embodiments have been described in detail, it should beunderstood that various changes, substitutions and alterations can bemade herein without departing from the scope. Moreover, the scope of thepresent application is not intended to be limited to the particularembodiments of the process, machine, manufacture, composition of matter,means, methods and steps described in the specification.

As one of ordinary skill in the art will readily appreciate from thedisclosure, processes, machines, manufacture, compositions of matter,means, methods, or steps, presently existing or later to be developed,that perform substantially the same function or achieve substantiallythe same result as the corresponding embodiments described herein may beutilized. Accordingly, the appended claims are intended to includewithin their scope such processes, machines, manufacture, compositionsof matter, means, methods, or steps.

As can be understood, the examples described above and illustrated areintended to be exemplary only.

What is claimed is:
 1. A controller device controlling one or moreorientations corresponding to one or more cameras, the controller devicecomprising: a processor coupled to a computer memory and non-transitorycomputer readable media, the processor configured to: process aplurality of image frames recorded by at least one camera of the one ormore cameras to extract one or more head orientations corresponding tohead objects identified for a plurality of individuals in the pluralityof image frames over a first duration of time represented in theplurality of image frames; determine, from the one or more extractedhead orientations, (i) an amount of synchronous alignment in the headobjects in a new direction within a threshold range of angles, (ii) arate of change in the one or more extracted head orientations towardsthe new direction, and (iii) a second duration of time in whichre-orientation of the head objects begins and ends in the new direction;and responsive to the amount of synchronous alignment in the headobjects in a new direction, the rate of change in the one or moreextracted head orientations towards the new direction, and the secondduration of time in which the re-orientation of the head objects beginsand ends in the new direction, control an orientation of at least onecamera of the one or more cameras to move from an initial field of viewto an updated field of view in the new direction.
 2. The controllerdevice of claim 1, wherein the processor is configured to establish amain stage alert if: the amount of synchronous alignment in the headobjects for at least 50% of the one or more head orientationssynchronously align within the threshold range of 35% difference, therate of change in the one or more extracted head orientations towardsthe new direction is over 45 degrees per second, the movement towardsthe new direction by the head objects is a continuous move withoutchanging angles, the time for each head object movement is within 1500ms, and an overall time for movement of all the aligned head objects iswithin 5000 ms.
 3. The controller of device of claim 2, wherein theprocessor is configured to conduct a second detection step whereby thehead objects are tracked to determine whether the synchronous alignmentin the head objects is maintained for over 2000 ms, and upon a positivedetermination, generate a second stage alert, and wherein the main stagealert and the second stage alert are utilized in determining whether thecontrol of an orientation of at least one camera of the one or morecameras to move the field of view should be triggered.
 4. The controllerdevice of claim 3, wherein the processor is configured to conduct athird detection step whereby the head objects are tracked to determinewhether at least one of the synchronously aligned head objects are movedin a corresponding backwards direction during the 2000 ms, and if thecorresponding backwards direction is observed, generate a third stagealert; wherein the third stage alert is also utilized in determiningwhether the control of an orientation of at least one camera of the oneor more cameras to move the field of view should be triggered.
 5. Thecontroller device of claim 4, wherein the processor is configured toconduct a fourth detection step whereby the plurality of image framesare processed to identify one or more changes in eye shape objects orone or more changes in facial expression objects corresponding to thehead objects, based on the changes in one or more changes in eye shapeobjects or the one or more changes in facial expression objects,generate an fourth stage alert; wherein the fourth stage alert is alsoutilized in determining whether the control of an orientation of atleast one camera of the one or more cameras to move the field of viewshould be triggered.
 6. The controller device of claim 5, wherein theprocessor is configured to conduct a fifth detection step wherebycaptured audio recordings are processed to identify one or more changesin audio amplitude and, based on the changes in the audio amplitude,generate an fifth stage alert; wherein the fifth stage alert is alsoutilized in determining whether the control of an orientation of atleast one camera of the one or more cameras to move the field of viewshould be triggered.
 7. The controller device of claim 6, wherein theone or more changes in audio amplitude are sensed from a coupledmicrophone adapted to capture sound characteristics prior to the mainstage alert for a first duration of time, and to capture soundcharacteristics after to the main stage alert for a second duration oftime, and wherein the fifth stage alert is generated when the soundcharacteristics during the second duration of time indicate an increasein 30% of sound amplitude relative to the first duration of time.
 8. Thecontroller device of claim 1, wherein moving the field of viewcorresponding to the at least one camera in the new direction includescontrolling at least one of pan, tilt, or roll of the one or morecameras to in the new direction until a recognized incidence object isdetected or centered within the field of view.
 9. The controller deviceof claim 1, wherein the head objects are each associated with ageospatial coordinate and the one or more extracted head orientationsare utilized to establish a corresponding vector from the head objecttowards the re-orientation of the head, and the new direction isestablished by extrapolating the corresponding vectors from thegeospatial coordinates to an intersection point.
 10. The controllerdevice of claim 9, wherein the intersection point is utilized todetermine the control of the orientation of at least one camera of theone or more cameras to move the field of view corresponding to the atleast one camera in the new direction such that the field of viewincludes the intersection point.
 11. The controller device of claim 1,wherein the one or more cameras includes a primary camera and asecondary camera that both cover the initial field of view, and theprimary camera is adapted to move to cover the updated field of view inthe new direction while the secondary camera is adapted to maintaincoverage over the initial field of view.
 12. The controller device ofclaim 11, wherein the processor is configured to, responsive todetermining that there are two or more cameras that include the primarycamera and the secondary camera, reduces a threshold requirement forcontrolling the orientation the primary camera to move to cover theupdated field of view.
 13. The controller device of claim 1, wherein theone or more extracted head orientations are represented in one or morecorresponding data objects having coordinate representations indicatingan estimated position of each of the head objects along with a directionvector corresponding to a rotation corresponding to each of the headobjects, the data objects representing a transformed simplification ofthe plurality of image frames.
 14. The controller device of claim 7,wherein the processor is configured to control the orientation of the atleast one camera to move from the initial field of view to the updatedfield of view based on an increasing probability based on a number ofstage alerts that have been generated.
 15. The controller device ofclaim 7, wherein a number of stage alerts that have been generated isutilized to determine how long the at least one camera is maintained inthe updated field of view before reverting to the initial field of view.16. The controller device of claim 6, wherein the processor isconfigured to conduct a sixth detection step whereby the detected headobjects are processed to identify one or more changes in facial featuresor eye sizes, based on the changes in the facial features or eye sizes,generate an sixth stage alert; wherein the sixth stage alert is alsoutilized in determining whether the control of an orientation of atleast one camera of the one or more cameras to move the field of viewshould be triggered.
 17. The controller device of claim 9, wherein thecorresponding vector from the head object towards the re-orientation ofthe head are expanded as corresponding cones having an angular spreadfrom the head object based on a threshold degree of variance, and theintersection point is established by extrapolating the correspondingcones.
 18. The controller device of claim 1, wherein the controllerdevice is retrofit to a security system including the one or morecameras.
 19. A computer implemented method for controlling one or moreorientations corresponding to one or more cameras, the methodcomprising: processing a plurality of image frames recorded by at leastone camera of the one or more cameras to extract one or more headorientations corresponding to head objects identified for a plurality ofindividuals in the plurality of image frames over a first duration oftime represented in the plurality of image frames; determining, from theone or more extracted head orientations, (i) an amount of synchronousalignment in the head objects in a new direction within a thresholdrange of angles, (ii) a rate of change in the one or more extracted headorientations towards the new direction, and (iii) a second duration oftime in which re-orientation of the head objects begins and ends in thenew direction; and responsive to the amount of synchronous alignment inthe head objects in a new direction, the rate of change in the one ormore extracted head orientations towards the new direction, and thesecond duration of time in which the re-orientation of the head objectsbegins and ends in the new direction, controlling an orientation of atleast one camera of the one or more cameras to move from an initialfield of view to an updated field of view in the new direction.
 20. Anon-transitory computer readable medium storing machine interpretableinstruction sets, which when executed by a processor, cause theprocessor to perform a computer implemented method for controlling oneor more orientations corresponding to one or more cameras, the methodcomprising: processing a plurality of image frames recorded by at leastone camera of the one or more cameras to extract one or more headorientations corresponding to head objects identified for a plurality ofindividuals in the plurality of image frames over a first duration oftime represented in the plurality of image frames; determining, from theone or more extracted head orientations, (i) an amount of synchronousalignment in the head objects in a new direction within a thresholdrange of angles, (ii) a rate of change in the one or more extracted headorientations towards the new direction, and (iii) a second duration oftime in which re-orientation of the head objects begins and ends in thenew direction; and responsive to the amount of synchronous alignment inthe head objects in a new direction, the rate of change in the one ormore extracted head orientations towards the new direction, and thesecond duration of time in which the re-orientation of the head objectsbegins and ends in the new direction, controlling an orientation of atleast one camera of the one or more cameras to move from an initialfield of view to an updated field of view in the new direction.